<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>发贴</title>

    <link
      rel="shortcut icon"
      href="https://static.jyshare.com/images/favicon.ico"
    />
    <link
      rel="stylesheet"
      href="//at.alicdn.com/t/c/font_4522611_wieqaqu8q4.css"
    />

    <link rel="stylesheet" href="<?php echo DIR_PUBLIC; ?>/css/reset.css" />
    <link rel="stylesheet" href="<?php echo DIR_PUBLIC; ?>/css/public.css" />
    <link rel="stylesheet" href="<?php echo DIR_PUBLIC; ?>/css/publish.css" />
  </head>

  <body>
    <div class="header">
      <div class="logo">
        <a href="http://127.24.6.11/">智慧璇玑</a>
      </div>
      <div class="banner">
        <a href="http://127.24.6.11/">首页</a>
        <a href="<?php echo DIR_MODEL; ?>/publish.php" class="active">新帖</a>
        <a href="<?php echo DIR_MODEL; ?>/list_father.php">话题</a>
      </div>
      <div class="put">
        <form action="<?php echo DIR_MODEL; ?>/list_son.php">
          <input type="text" name="keyword" />
          <button>搜索</button>
        </form>
      </div>
      <ul>
        <li>
          <a href="<?php echo DIR_MODEL; ?>/login.php">登录</a>&nbsp;/&nbsp;
          <a href="<?php echo DIR_MODEL; ?>/register.php">注册</a>
        </li>
        <li>
          <a href="<?php echo DIR_MODEL; ?>/upload_img.php">
            <span class="iconfont icon-geren"></span>&nbsp;个人中心
          </a>
        </li>
        <li>
          <a href="./logout.php">
            <span class="iconfont icon-kaiguan"></span>&nbsp;注销
          </a>
        </li>
      </ul>
    </div>

    <div class="content">
      <form action="<?php echo DIR_MODEL; ?>/publish_deal.php" method="post">
        <select name="module_id" id="">
          <option value="">选择模块1</option>
          <option value="">选择模块2</option>
          <option value="">选择模块3</option>
          <option value="">选择模块4</option>
        </select>
        <input
          type="text"
          placeholder="请输入标题"
          name="pub_title"
          class="title"
        />
        <textarea
          name="pub_content"
          id=""
          cols="30"
          rows="10"
          class="content"
        ></textarea>
        <button>提交</button>
      </form>
    </div>

    <div class="footer">
      <div class="footer-title">智慧璇玑</div>
      <div class="footer-content">
        Copyright &copy; 2024 智慧璇玑 All Rights Reserved
      </div>
    </div>
  </body>
</html>
